//
//  SMNULLProjectViewController.m
//  SaveMoney
//
//  Created by user on 2018/12/10.
//  Copyright © 2018年 Sunflower. All rights reserved.
//

#import "SMNULLProjectViewController.h"

#import "SMAddSaveMoneyTableViewController.h"
#import "XWInteractiveTransition.h"
@interface SMNULLProjectViewController ()<XWPresentedOneControllerDelegate>
@property (nonatomic, strong) XWInteractiveTransition *interactivePush;
@end

@implementation SMNULLProjectViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}
- (IBAction)addAction:(id)sender {
    SMAddSaveMoneyTableViewController *vc = [[UIStoryboard storyboardWithName:@"SMHome" bundle:nil] instantiateViewControllerWithIdentifier:@"SMAddSaveMoneyTableViewController"];
    vc.delegate = self;
    [self presentViewController:vc animated:YES completion:nil];
}
- (void)presentedOneControllerPressedDissmiss{ 
    [self dismissViewControllerAnimated:YES completion:^{
        
    }];
}

- (id<UIViewControllerInteractiveTransitioning>)interactiveTransitionForPresent{
    return _interactivePush;
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
